<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">  
    <title>注册用户</title>
    <link rel="Shortcut Icon" href="images/favicon.ico">
    <script type="text/javascript" src="js/jquery-1.9.js"></script>  
    <script type="text/javascript" src="js/1.js"></script>
    <script type="text/javascript" src="js/2.js"></script>
    <link rel='stylesheet' type='text/css' href='css/1.css'>
  </head>
  <body class>
    
  
    <div class="main">
      <div class="title"><img src="images/title.png" alt=""></div>
      
        <div class="main_2">       
            <form action="insertDo" method="post" id = "register" onsubmit="return xyj()">
                <table class="main_2_1" id="main1">
                    <tr>
                        <td class="main_2_1_1"><label>用户名：</label></td>
                        <td class="main_2_1_2">
                            <div class="main_2_1_2_1"><input type="text" maxlength="20" onblur="txtName()" name="userName" id="UserName" /></div>
                            <div class="main_2_3_1" id="txtUserName"></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="main_2_1_1"><label>邮箱：</label></td>
                        <td class="main_2_1_2">
                            <div class="main_2_1_2_1"><input type="text" maxlength="25" onblur="txtEmail()" name="userEmail" id="UserEmail" /></div>
                            <div class="main_2_3_1" id="txtUserEmail" ></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="main_2_1_1"><label>密码：</label></td>
                        <td class="main_2_1_2">
                            <div class="main_2_1_2_1"><input type="password" maxlength="16" onblur="txtPwd()" name="userPassword" id="UserPwd"  /></div>
                            <div class="main_2_3_1" id="txtUserPwd" ></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="main_2_1_1"><label>确认密码：</label></td>
                        <td class="main_2_1_2">
                            <div class="main_2_1_2_1"><input type="password" maxlength="16" onblur="txtPass()" name="userPass"  id="UserPass" /></div>
                            <div class="main_2_3_1"  id="txtUserPass" ></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="main_2_1_1"><label>验证码：</label></td>
                        <td class="main_2_1_2">
                            <div class="main_2_2_3"><input type="text" maxlength="4" id="inputCode" onblur="txtCode()" /></div>
                            <div class="main_2_3_3"  onclick="createCode()" id="checkCode"></div>
                            <div class="main_2_3_4" ><a  onclick="createCode()" id="qq" title="看不清楚了吧，点击这里换一张验证码">换一张</a></div>
                            <div class="main_2_3_1"  id="txtCode" ></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="main_2_2_2" colspan="">
                            <div class="main_2_2_2_1">
                                <input type="checkbox" checked="false" id="check"/>是否同意<a href="#">《xx》</a></a>条约
                            </div>                           
                            <div class="main_2_2_2_2"  id="txtCheck" ></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="main_2_1_1" colspan="2">
                            <div class="main_2_2_1">
                                <input id = "subRegister" type="submit" value="注册"/>
                            </div>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>  
  </body>
</html>
